package com.googlecode.mgwt.examples.uibinder.client;

import com.google.gwt.activity.shared.Activity;
import com.google.gwt.activity.shared.ActivityMapper;
import com.google.gwt.place.shared.Place;
import com.googlecode.mgwt.examples.uibinder.client.activities.ExampleListActivity;

public class TabletNavActivityMapper implements ActivityMapper {

	private final ClientFactory clientFactory;

	public TabletNavActivityMapper(ClientFactory clientFactory) {
		this.clientFactory = clientFactory;
		activity = new ExampleListActivity(this.clientFactory);

	}

	private ExampleListActivity activity;

	@Override
	public Activity getActivity(Place place) {

		return activity;
	}
}
